package arith;

public class Output {
	Numbers nSolution;
	Fraction fSolution = null;
	Exponent eSolution = null;
	Factoring factorSolution = null;
	Properties propSolution = null;
	int id;
	
	public Output(Numbers n){
		nSolution = n;
		id = 0;
	}
	
	public Output(Fraction f){
		fSolution = f;
		nSolution = new Numbers(f.value(), "");
		id = 1;
	}
	
	public Output(Exponent e){
		eSolution = e;
		id = 2;
	}
	
	public Output(Factoring f){
		factorSolution = f;
		id = 3;
	}
	
	public Output(Properties p){
		propSolution = p;
		id = 4;
	}
}
